package cc.customer.myCustomer.damain;

import cc.customer.common.annotation.ExportConfig;

import java.util.Date;
import java.util.List;
import javax.persistence.*;

@Table(name = "c_mycustomer")
public class MyCustomer {
    @Id
    @Column(name = "my_cus_id")
    private Long myCusId;

    @Column(name = "my_cus_uuid")
    private String myCusUuid;

    /**
     * 昵称
     */
    @ExportConfig(value = "客户名称")
    @Column(name = "my_cus_name")
    private String myCusName;

    @ExportConfig(value = "客户性别")
    @Column(name = "my_cus_sex")
    private String myCusSex;

    /**
     * 手机号
     */
    @ExportConfig(value = "手机号")
    @Column(name = "my_cus_mobile")
    private String myCusMobile;

    @ExportConfig(value = "QQ号")
    @Column(name = "my_cus_qq")
    private String myCusQq;

    @ExportConfig(value = "微信号")
    @Column(name = "my_cus_wechat")
    private String myCusWechat;

    @ExportConfig(value = "邮箱")
    @Column(name = "my_cus_email")
    private String myCusEmail;

    @ExportConfig(value = "所在地区")
    @Column(name = "my_cus_city")
    private String myCusCity;

    /**
     * 意向项目
     */
    @Column(name = "my_cus_intern")
    private String myCusIntern;
    /**
     * 意向等级
     */
    @Column(name = "my_cus_groud")
    private String myCusGroud;

    /**
     * 客户标签
     */
    @Column(name = "my_cus_label")
    private String myCusLabel;

    /**
     * 头像
     */
    @Column(name = "my_cus_img")
    private String myCusImg;

    /**客户标签名称**/
    @Transient
    private  String myCusLabelName;

    /**
     * 共享客户
     */
    @Column(name = "my_cus_share")
    private String myCusShare;

    /**共享客户的名称**/
    @Transient
    private String myCusShareName;

    /**
     * 销售计划
     */
    @Column(name = "my_cus_plan")
    private String myCusPlan;

    /**
     * 客户分组
     */
    @Column(name = "my_cus_group")
    private String myCusGroup;

    /**
     * 客户所在阶段
     */
    @Column(name = "my_cus_stage")
    private String myCusStage;

    /**
     * 删除放弃状态
     */
    @Column(name = "my_cus_isdelete")
    private String myCusIsdelete;

    /**
     * 录入人
     */
    @Column(name = "my_cus_creator")
    private String myCusCreator;

    /**查询包含录入**/
    @Transient
    private List<String> myCusList;

    /**
     * 跟进人
     */
    @Column(name = "my_cus_receiver")
    private String myCusReceiver;

    @Column(name = "my_cus_dept")
    private String myCusDept;

    @Column(name = "my_cus_createtime")
    private String myCusCreatetime;

    /**开始时间**/
    @Transient
    private String beforeTime;
    /**结束时间**/
    @Transient
    private String afterTime;
    /**综合搜索页面**/
    @Transient
    private String searchValue;


    /**最新的动态**/
    @Column(name = "my_recent")
    private String muRecent;
    @Column(name = "my_recent_time")
    private String myRecentTime;

    public String getMyCusGroud() {
        return myCusGroud;
    }

    public void setMyCusGroud(String myCusGroud) {
        this.myCusGroud = myCusGroud;
    }

    public String getSearchValue() {
        return searchValue;
    }

    public void setSearchValue(String searchValue) {
        this.searchValue = searchValue;
    }

    public String getBeforeTime() {
        return beforeTime;
    }

    public void setBeforeTime(String beforeTime) {
        this.beforeTime = beforeTime;
    }

    public String getAfterTime() {
        return afterTime;
    }

    public void setAfterTime(String afterTime) {
        this.afterTime = afterTime;
    }

    public List<String> getMyCusList() {
        return myCusList;
    }

    public void setMyCusList(List<String> myCusList) {
        this.myCusList = myCusList;
    }

    public String getMuRecent() {
        return muRecent;
    }

    public void setMuRecent(String muRecent) {
        this.muRecent = muRecent;
    }

    public String getMyRecentTime() {
        return myRecentTime;
    }

    public void setMyRecentTime(String myRecentTime) {
        this.myRecentTime = myRecentTime;
    }

    public String getMyCusLabelName() {
        return myCusLabelName;
    }

    public void setMyCusLabelName(String myCusLabelName) {
        this.myCusLabelName = myCusLabelName;
    }

    public String getMyCusShareName() {
        return myCusShareName;
    }

    public void setMyCusShareName(String myCusShareName) {
        this.myCusShareName = myCusShareName;
    }

    /**
     * @return my_cus_id
     */
    public Long getMyCusId() {
        return myCusId;
    }

    /**
     * @param myCusId
     */
    public void setMyCusId(Long myCusId) {
        this.myCusId = myCusId;
    }

    /**
     * @return my_cus_uuid
     */
    public String getMyCusUuid() {
        return myCusUuid;
    }

    /**
     * @param myCusUuid
     */
    public void setMyCusUuid(String myCusUuid) {
        this.myCusUuid = myCusUuid == null ? null : myCusUuid.trim();
    }

    /**
     * 获取昵称
     *
     * @return my_cus_name - 昵称
     */
    public String getMyCusName() {
        return myCusName;
    }

    /**
     * 设置昵称
     *
     * @param myCusName 昵称
     */
    public void setMyCusName(String myCusName) {
        this.myCusName = myCusName == null ? null : myCusName.trim();
    }

    /**
     * @return my_cus_sex
     */
    public String getMyCusSex() {
        return myCusSex;
    }

    /**
     * @param myCusSex
     */
    public void setMyCusSex(String myCusSex) {
        this.myCusSex = myCusSex == null ? null : myCusSex.trim();
    }

    /**
     * 获取手机号
     *
     * @return my_cus_mobile - 手机号
     */
    public String getMyCusMobile() {
        return myCusMobile;
    }

    /**
     * 设置手机号
     *
     * @param myCusMobile 手机号
     */
    public void setMyCusMobile(String myCusMobile) {
        this.myCusMobile = myCusMobile == null ? null : myCusMobile.trim();
    }

    /**
     * @return my_cus_qq
     */
    public String getMyCusQq() {
        return myCusQq;
    }

    /**
     * @param myCusQq
     */
    public void setMyCusQq(String myCusQq) {
        this.myCusQq = myCusQq == null ? null : myCusQq.trim();
    }

    /**
     * @return my_cus_wechat
     */
    public String getMyCusWechat() {
        return myCusWechat;
    }

    /**
     * @param myCusWechat
     */
    public void setMyCusWechat(String myCusWechat) {
        this.myCusWechat = myCusWechat == null ? null : myCusWechat.trim();
    }

    /**
     * @return my_cus_email
     */
    public String getMyCusEmail() {
        return myCusEmail;
    }

    /**
     * @param myCusEmail
     */
    public void setMyCusEmail(String myCusEmail) {
        this.myCusEmail = myCusEmail == null ? null : myCusEmail.trim();
    }

    /**
     * 获取意向项目
     *
     * @return my_cus_intern - 意向项目
     */
    public String getMyCusIntern() {
        return myCusIntern;
    }

    /**
     * 设置意向项目
     *
     * @param myCusIntern 意向项目
     */
    public void setMyCusIntern(String myCusIntern) {
        this.myCusIntern = myCusIntern == null ? null : myCusIntern.trim();
    }

    /**
     * 获取客户标签
     *
     * @return my_cus_label - 客户标签
     */
    public String getMyCusLabel() {
        return myCusLabel;
    }

    /**
     * 设置客户标签
     *
     * @param myCusLabel 客户标签
     */
    public void setMyCusLabel(String myCusLabel) {
        this.myCusLabel = myCusLabel == null ? null : myCusLabel.trim();
    }

    /**
     * 获取共享客户
     *
     * @return my_cus_share - 共享客户
     */
    public String getMyCusShare() {
        return myCusShare;
    }

    /**
     * 设置共享客户
     *
     * @param myCusShare 共享客户
     */
    public void setMyCusShare(String myCusShare) {
        this.myCusShare = myCusShare == null ? null : myCusShare.trim();
    }

    /**
     * 获取销售计划
     *
     * @return my_cus_plan - 销售计划
     */
    public String getMyCusPlan() {
        return myCusPlan;
    }

    /**
     * 设置销售计划
     *
     * @param myCusPlan 销售计划
     */
    public void setMyCusPlan(String myCusPlan) {
        this.myCusPlan = myCusPlan == null ? null : myCusPlan.trim();
    }

    /**
     * 获取客户分组
     *
     * @return my_cus_group - 客户分组
     */
    public String getMyCusGroup() {
        return myCusGroup;
    }

    /**
     * 设置客户分组
     *
     * @param myCusGroup 客户分组
     */
    public void setMyCusGroup(String myCusGroup) {
        this.myCusGroup = myCusGroup == null ? null : myCusGroup.trim();
    }

    /**
     * 获取客户所在阶段
     *
     * @return my_cus_stage - 客户所在阶段
     */
    public String getMyCusStage() {
        return myCusStage;
    }

    /**
     * 设置客户所在阶段
     *
     * @param myCusStage 客户所在阶段
     */
    public void setMyCusStage(String myCusStage) {
        this.myCusStage = myCusStage == null ? null : myCusStage.trim();
    }

    /**
     * 获取删除放弃状态
     *
     * @return my_cus_isdelete - 删除放弃状态
     */
    public String getMyCusIsdelete() {
        return myCusIsdelete;
    }

    /**
     * 设置删除放弃状态
     *
     * @param myCusIsdelete 删除放弃状态
     */
    public void setMyCusIsdelete(String myCusIsdelete) {
        this.myCusIsdelete = myCusIsdelete == null ? null : myCusIsdelete.trim();
    }

    /**
     * 获取录入人
     *
     * @return my_cus_creator - 录入人
     */
    public String getMyCusCreator() {
        return myCusCreator;
    }

    /**
     * 设置录入人
     *
     * @param myCusCreator 录入人
     */
    public void setMyCusCreator(String myCusCreator) {
        this.myCusCreator = myCusCreator == null ? null : myCusCreator.trim();
    }

    /**
     * 获取跟进人
     *
     * @return my_cus_receiver - 跟进人
     */
    public String getMyCusReceiver() {
        return myCusReceiver;
    }

    /**
     * 设置跟进人
     *
     * @param myCusReceiver 跟进人
     */
    public void setMyCusReceiver(String myCusReceiver) {
        this.myCusReceiver = myCusReceiver == null ? null : myCusReceiver.trim();
    }

    /**
     * @return my_cus_createtime
     */
    public String getMyCusCreatetime() {
        return myCusCreatetime;
    }

    /**
     * @param myCusCreatetime
     */
    public void setMyCusCreatetime(String myCusCreatetime) {
        this.myCusCreatetime = myCusCreatetime;
    }

    public String getMyCusCity() {
        return myCusCity;
    }

    public void setMyCusCity(String myCusCity) {
        this.myCusCity = myCusCity;
    }

    public String getMyCusDept() {
        return myCusDept;
    }

    public void setMyCusDept(String myCusDept) {
        this.myCusDept = myCusDept;
    }

    public String getMyCusImg() {
        return myCusImg;
    }

    public void setMyCusImg(String myCusImg) {
        this.myCusImg = myCusImg;
    }

    @Override
    public String toString() {
        return "MyCustomer{" +
                "myCusId=" + myCusId +
                ", myCusUuid='" + myCusUuid + '\'' +
                ", myCusName='" + myCusName + '\'' +
                ", myCusSex='" + myCusSex + '\'' +
                ", myCusMobile='" + myCusMobile + '\'' +
                ", myCusQq='" + myCusQq + '\'' +
                ", myCusWechat='" + myCusWechat + '\'' +
                ", myCusEmail='" + myCusEmail + '\'' +
                ", myCusCity='" + myCusCity + '\'' +
                ", myCusIntern='" + myCusIntern + '\'' +
                ", myCusGroud='" + myCusGroud + '\'' +
                ", myCusLabel='" + myCusLabel + '\'' +
                ", myCusImg='" + myCusImg + '\'' +
                ", myCusLabelName='" + myCusLabelName + '\'' +
                ", myCusShare='" + myCusShare + '\'' +
                ", myCusShareName='" + myCusShareName + '\'' +
                ", myCusPlan='" + myCusPlan + '\'' +
                ", myCusGroup='" + myCusGroup + '\'' +
                ", myCusStage='" + myCusStage + '\'' +
                ", myCusIsdelete='" + myCusIsdelete + '\'' +
                ", myCusCreator='" + myCusCreator + '\'' +
                ", myCusList=" + myCusList +
                ", myCusReceiver='" + myCusReceiver + '\'' +
                ", myCusDept='" + myCusDept + '\'' +
                ", myCusCreatetime='" + myCusCreatetime + '\'' +
                ", beforeTime='" + beforeTime + '\'' +
                ", afterTime='" + afterTime + '\'' +
                ", searchValue='" + searchValue + '\'' +
                ", muRecent='" + muRecent + '\'' +
                ", myRecentTime='" + myRecentTime + '\'' +
                '}';
    }
}